<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章详情</title>
    <link rel="stylesheet" href="/css/article-detail.css">
</head>
<body>
<div id="app">
    <h1>文章详情</h1>
    <div id="article"></div>
    <h2>发表评论</h2>
    <form id="comment-form">
        <textarea id="comment-content" placeholder="写下你的评论" required></textarea>
        <button type="submit">提交评论</button>
    </form>
    <div id="comment-response"></div>
    <h2>评论列表</h2>
    <div id="comments"></div>
    <button onclick="window.location.href='view-articles.html'">返回文章列表</button>
</div>
<script src="/js/article-detail.js"></script>
<script src="/js/markdown.js"></script>
</body>
</html>
